@charset "UTF-8";
/*头部*/
.jd-body {
    max-width: 640px;
    min-width: 320px;
    margin: 0 auto;
}
.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}
.header .header-box {
    height: 40px;
    max-width: 640px;
    min-width: 320px;
    margin: 0 auto;
    background-color: rgba(201,21,35,0);
    position: relative;
}
.header-box a:first-child {
    width: 60px;
    height: 27px;
    position: absolute;
    top: 5px;
    left: 5px;
    background-position: 0 -103px;
}
.header-box form {
    padding-left: 70px;
    padding-right: 40px;
}
.header-box form span {
    display: block;
    width: 20px;
    height: 20px;
    position: absolute;
    top: 10px;
    left: 73px;
    background-position: -60px -109px;
}
.header-box form input {
    width: 100%;
    height: 30px;
    border-radius: 30px;
    margin-top: 5px;
    padding-left: 30px;
}
.header-box a:last-child {
    color: #fff;
    position: absolute;
    top: 11px;
    right: 5px;
}

/*轮播*/
.banner {
    width: 100%;
    position: relative;
    overflow: hidden;
}
.banner ul:first-child {
    width: 1000%;
    transform: translateX(-10%);
}
.banner ul:first-child li {
    width: 10%;
    float: left;
}
/*.banner ul:first-child li a {*/
    /*width: 100%;*/
    /*display: block;*/
/*}*/
.banner ul:first-child li img {
    width: 100%;
    /*display: block;*/
}

/*轮播点*/
.banner ul:last-child {
    width: 118px;
    height: 6px;
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-59px);
}
.banner ul:last-child li {
    float: left;
    width: 6px;
    height: 6px;
    border: 1px solid #fff;
    border-radius: 50%;
    margin-left: 10px;
}
.banner ul:last-child li:first-child {
    margin-left: 0;
}
.banner ul:last-child .now {
    background-color: #fff;
}

/*nav*/
.nav {
    width: 100%;
    padding-bottom: 5px;
}
.nav ul {
    width: 100%;
    position: relative;
    background-color: #F5F5F5;
    /*此处作用是撑开盒子*/
    overflow: hidden;
}
.nav ul li {
    width: 25%;
    float: left;
    text-align: center;
    padding-top: 10px;
}
.nav ul li img {
    width: 40px;
    height: 40px;
}
.nav ul li p {
    padding-top: 5px;
}

/*秒杀区域*/
/*上半部分*/
.seckill {
    border: 1px solid #ccc;
}
.seckill .seckill-top {
    height: 30px;
    line-height: 30px;
    border-bottom: 1px solid #ccc;
    position: relative;
}
.seckill .seckill-top-left .icon {
    width: 20px;
    height: 30px;
    margin-left: 5px;
    background-position: -84px -107px;
}
.seckill .seckill-top-left .timer {
    margin-left: 5px;
}
.seckill .seckill-top-left .timer span {
    background-color: #000;
    color: #fff;
}
.seckill .seckill-top-left .timer span:nth-child(3n) {
    background-color: #fff;
    color: #000;
}
.seckill .seckill-more span:last-of-type a {
    margin-right: 5px;
}
/*秒杀下半部分*/
.seckill .seckill-bottom ul {
    overflow: hidden;
}
.seckill .seckill-bottom ul li {
    float: left;
    width: 33.33%;
    text-align: center;
}
.seckill .seckill-bottom ul li a {
    width: 70%;
    display: block;
    margin: 0 auto;
}
.seckill .seckill-bottom img {
    width: 100%;
}
.seckill .seckill-bottom ul li p:first-of-type {
    color: red;
    text-decoration: line-through;
}

/*主区域*/
.main {
    position: relative;
}
.main img {
    width: 100%;
}
.main ul {
    position: absolute;
    left: 0;
    bottom: 3px;
    overflow: hidden;
}
.main ul li {
    float: left;
    width: 50%;
}

/*商品区*/
.shop ul {
    overflow: hidden;
}
.shop ul li {
    float: left;
}
.shop ul:first-child li {
    width: 33.33%;
}
.shop ul:last-child li {
    width: 50%;
}
.shop img {
    width: 100%;
}

/*底部*/
.advert img {
    width: 100%;
}